package com.jt.demo11.service;

import com.jt.demo11.mapper.AnimalMapper;
import com.jt.demo11.pojo.Animal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AnimalServiceImpl implements AnimalService{

    @Autowired
    private AnimalMapper animalMapper;

    @Override
    public void hello(Animal animal) {
        animalMapper.hello(animal);
    }
}
